import request from '@/utils/request'

export function selectAll(data) {
    return request({
        url: '/order/all',
        method: 'post',
        data: data
    })
}

export function add(data) {
    return request({
        url: '/order/add',
        method: 'post',
        data: data
    })
}

export function allSave(data) {
    return request({
        url: '/order/allSave',
        method: 'post',
        data: data
    })
}

export function update(data) {
    return request({
        url: '/order/update',
        method: 'post',
        data: data
    })
}

export function del(data) {
    return request({
        url: '/order/delete',
        method: 'post',
        data: data
    })
}


export function determine(data) {
    return request({
        url: '/order/determine',
        method: 'post',
        data: data
    })
}